<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<%@page import="java.sql.*,myutil.*" %>
<%
try{
	String student_id=request.getParameter("student_id");
	Connect c=new Connect();
	ResultSet rs=c.getResult("select * From student_Details where student_id='"+student_id+"'");
	if(rs.next()){
	if(rs.getString("student_name").equals("null")){}else{%><input type=text value=<%=rs.getString("student_name")%>/><%}
	if(rs.getString("roll_number").equals("null")){}else{%><input type=text value=<%=rs.getString("roll_number")%>/><%}
	if(rs.getString("registration_number").equals("null")){}else{%><input type=text value=<%=rs.getString("registration_number")%>/><%}
	if(rs.getString("mobile_number").equals("null")){}else{%><input type=text value=<%=rs.getString("mobile_number")%>/><%}
	if(rs.getString("phone_number").equals("null")){}else{%><input type=text value=<%=rs.getString("phone_number")%>/><%}
	if(rs.getString("address_line_1").equals("null")){}else{%><input type=text value=<%=rs.getString("address_line_1")%>/><%}
	if(rs.getString("address_line_2").equals("null")){}else{%><input type=text value=<%=rs.getString("address_line_2")%>/><%}
	if(rs.getString("city").equals("null")){}else{%><input type=text value=<%=rs.getString("city")%>/><%}
	if(rs.getString("state").equals("null")){}else{%><input type=text value=<%=rs.getString("state")%>/><%}
	if(rs.getString("country").equals("null")){}else{%><input type=text value=<%=rs.getString("country")%>/><%}
	if(rs.getString("email_id").equals("null")){}else{%><input type=text value=<%=rs.getString("email_id")%>/><%}
	if(rs.getString("date_of_birth").equals("null")){}else{%><input type=text value=<%=rs.getString("date_of_birth")%>/><%}
	if(rs.getString("highest_degree").equals("null")){}else{%><input type=text value=<%=rs.getString("highest_degree")%>/><%}
	if(rs.getString("highest_degree_college_name").equals("null")){}else{%><input type=text value=<%=rs.getString("highest_degree_college_name")%>/><%}
	if(rs.getString("previous_degree_1").equals("null")){}else{%><input type=text value=<%=rs.getString("previous_degree_1")%>/><%}
	if(rs.getString("previous_degree_1_college_name").equals("null")){}else{%><input type=text value=<%=rs.getString("previous_degree_1_college_name")%>/><%}
	if(rs.getString("previous_degree_2").equals("null")){}else{%><input type=text value=<%=rs.getString("previous_degree_2")%>/><%}
	if(rs.getString("previous_degree_2_college_name").equals("null")){}else{%><input type=text value=<%=rs.getString("previous_degree_2_college_name")%>/><%}
if(rs.getString("gender").equals("null")){}else{%><input type=text value=<%=rs.getString("gender")%>/><%}
	if(rs.getString("father_name").equals("null")){}else{%><input type=text value=<%=rs.getString("father_name")%>/><%}
	if(rs.getString("pan_card_number").equals("null")){}else{%><input type=text value=<%=rs.getString("pan_card_number")%>/><%}
	if(rs.getString("passport_number").equals("null")){}else{%><input type=text value=<%=rs.getString("passport_number")%>/><%}
	if(rs.getString("passport_expiry_date").equals("null")){}else{%><input type=text value=<%=rs.getString("passport_expiry_date")%>/><%}

	}
}
catch(Exception e)
{
e.printStackTrace();	
}


%>
</body>
</html>